import { axios } from '@/utils/request'

// api接口列表
const api = {
    list: '/certification/list',//资质列表
    detail: '/certification/detail',//资质详情
    status: 'certification/status',//资质审核
}

// 资质列表
export function list(params) {
    return axios({
        url: api.list,
        method: 'get',
        params
    })
}
// 资质详情
export function detail(params) {
    return axios({
        url: api.detail,
        method: 'get',
        params
    })
}

// 资质审核
export function status(data) {
    return axios({
        url: api.status,
        method: 'post',
        data
    })
}

